#pragma once

#include "pch.h"
#include <string>
#include <iostream>
#include<stdio.h>
using namespace std;
class STRING_DLL_API base64
{

public:
	static base64* instance() {
		return tools_;
	}

	//A\nB                          3
	std::string base64_encode(char const* bytes_to_encode, int in_len);

	std::string base64_decode(std::string& encoded_string);
private:
	base64() {}
	~base64() {}
	static base64* tools_;
};

